patch logging Edit